package com.engineering.elink.recruitdao;

import java.util.List;

import org.apache.ibatis.annotations.Select;

import com.engineering.elink.domain.recruit.FunctionsDetailCategory;
import com.engineering.elink.vo.recruit.FunctionsDetailCategoryVo;

public interface FunctionsDetailCategoryMapper {
    int deleteByPrimaryKey(Integer fdcId);

    int insert(FunctionsDetailCategory record);

    int insertSelective(FunctionsDetailCategory record);

    FunctionsDetailCategory selectByPrimaryKey(Integer fdcId);

    int updateByPrimaryKeySelective(FunctionsDetailCategory record);

    int updateByPrimaryKey(FunctionsDetailCategory record);

    @Select(" select fdc_id as fdcId, ftc_id as ftcId, fdc_name as fdcName,'functionsDetailType' as type from functions_detail_category where ftc_id=#{ftcId} ")
    List<FunctionsDetailCategoryVo> selectAllByFtcId(Integer ftcId);

    List<FunctionsDetailCategory> selectBatchByFdcIds(String[] fdcIds);
}